var global = 100
function fn() {
    console.log(global);
}
fn();